package com.orientsec.autotest.project.system.targetstrucdetail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 目标文件结构配置详情表 targetstruct_detail
 * 
 * @author autotest
 * @date 2019-12-27
 */
public class Targetstrucdetail extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 请求功能配置id */
	private Integer id;
	/** 目标数据id */
	private Integer ssid;
	/** 字段项(域)名 */
	private String item;
	/** 字段数据类型 */
	private String itemType;
	/** 字段长度 */
	private String itemLength;
	/** 字段简称 */
	private String itemName;
	/** 字段含义 */
	private String itemDisc;
	/** 0--default, fileHeader--1, fileFooter--2 */
	private Integer itemStruct;
	/** 0-无,1-统计合并字段 */
	private Integer sunFlag;
	/** 序号 */
	private Integer orderFlag;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSsid(Integer ssid) 
	{
		this.ssid = ssid;
	}

	public Integer getSsid() 
	{
		return ssid;
	}
	public void setItem(String item) 
	{
		this.item = item;
	}

	public String getItem() 
	{
		return item;
	}
	public void setItemType(String itemType) 
	{
		this.itemType = itemType;
	}

	public String getItemType() 
	{
		return itemType;
	}
	public void setItemLength(String itemLength) 
	{
		this.itemLength = itemLength;
	}

	public String getItemLength() 
	{
		return itemLength;
	}
	public void setItemName(String itemName) 
	{
		this.itemName = itemName;
	}

	public String getItemName() 
	{
		return itemName;
	}
	public void setItemDisc(String itemDisc) 
	{
		this.itemDisc = itemDisc;
	}

	public String getItemDisc() 
	{
		return itemDisc;
	}
	public void setItemStruct(Integer itemStruct) 
	{
		this.itemStruct = itemStruct;
	}

	public Integer getItemStruct() 
	{
		return itemStruct;
	}
	public void setSunFlag(Integer sunFlag) 
	{
		this.sunFlag = sunFlag;
	}

	public Integer getSunFlag() 
	{
		return sunFlag;
	}
	public void setOrderFlag(Integer orderFlag) 
	{
		this.orderFlag = orderFlag;
	}

	public Integer getOrderFlag() 
	{
		return orderFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ssid", getSsid())
            .append("item", getItem())
            .append("itemType", getItemType())
            .append("itemLength", getItemLength())
            .append("itemName", getItemName())
            .append("itemDisc", getItemDisc())
            .append("itemStruct", getItemStruct())
            .append("sunFlag", getSunFlag())
            .append("orderFlag", getOrderFlag())
            .toString();
    }
}
